package cn.itcast.nems.studentrecord.dao.mapper;

import cn.itcast.nems.studentrecord.dao.condition.JournalDropoutParams;
import cn.itcast.nems.studentrecord.dao.dataobject.JournalDropoutDO;
import cn.itcast.nems.studentrecord.dao.entity.JournalDropout;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 * 退学凭单-头 Mapper 接口
 * </p>
 *
 * @author 陈早庆
 * @since 2023-12-07
 */
@Mapper
public interface JournalDropoutMapper extends BaseMapper<JournalDropout> {

    IPage<JournalDropoutDO> listPage(Page<?> objectPage, @Param("param") JournalDropoutParams params);

    IPage<Map> searchClazzes(Page<?> objectPage, @Param("param") JournalDropoutParams params);

    JournalDropoutDO getJournalDropoutById(String id);

    String incomeexpensestypeByName(@Param("name") String name);

    String studentCostTypesByName(@Param("name") String name);
}
